package com.pig4cloud.pig.admin.api.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;

/**
 * 操作明细表
 *
 * @author pig
 * @date 2025-04-11 23:26:47
 */
@Data
@TableName("bus_operate_detail")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "操作明细表")
public class BusOperateDetailEntity extends Model<BusOperateDetailEntity> {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键ID
	 */
	@TableId(value = "id", type = IdType.ASSIGN_ID)
    @Schema(description="id")
    private Long id;

	/**
	* 可用总里程/购买的总里程
	*/
    @Schema(description="可用总里程/购买的总里程")
    private String totalBalance;

	/**
	* 操作人
	*/
    @Schema(description="操作人")
    private String operator;

	/**
	* 操作人ID
	*/
    @Schema(description="操作人ID")
    private Long operatorId;

	/**
	* 创建人
	*/
    @Schema(description="创建人")
    private String creator;

	/**
	* 修改人
	*/
    @Schema(description="修改人")
    private String updator;


    private String msg;

    private int status;
    private int process;

	/**
	* 接收人
	*/
    @Schema(description="接收人")
    private String recipient;

	/**
	* 接收人ID
	*/
    @Schema(description="接收人ID")
    private Long recipientId;

	/**
	* 创建时间
	*/
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="创建时间")
    private LocalDateTime createTime;

	/**
	* 修改时间
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description="修改时间")
    private LocalDateTime updateTime;
}